package com.csu.persistence;

import com.csu.domain.Admin;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminDao {

    Admin selectByUsernameAndPassword(Admin admin);

    //检查输入密码是否为旧密码
//    int checkPassword(String password, Integer id);

    //修改密码
//    int updatePasswordById(Integer id, String renewPassword);

}
